<?php
/**
 * 外部收入路由
 */
$router->group(['prefix' => 'amiba'], function ($router) {
    
    
    
   
    Route::any('excel', ['as' => 'excel', 'uses' => 'AmibaController@excel']);//ajax返回外部收入
     Route::any('project_excel', ['as' => 'project_excel', 'uses' => 'AmibaController@project_excel']);//ajax返回外部收入
    
    Route::any('index', ['as' => 'index', 'uses' => 'AmibaController@index']);//ajax返回外部收入
    Route::get('ajaxIndex', ['as' => 'ajaxIndex', 'uses' => 'AmibaController@ajaxIndex']); //ajax返回外部收入
    
    
    Route::get('bar', ['as' => 'bar', 'uses' => 'AmibaController@bar']); //每日导出
    Route::get('project_status', ['as' => 'project', 'uses' => 'AmibaController@project_status']); //每日导出
    
    Route::get('count', ['as' => 'count', 'uses' => 'AmibaController@count']); //返回添加表单
    Route::get('ajaxCount', ['as' => 'ajaxCount', 'uses' => 'AmibaController@ajaxCount']); //ajax返回外部收入
    
     Route::get('edit/{id}', ['as' => 'edit', 'uses' => 'AmibaController@edit']); //ajax返回外部收入
     Route::get('infoshow/{$id}', ['as' => 'infoshow', 'uses' => 'AmibaController@infoshow']); //ajax返回外部收入
    
    Route::get('project', ['as' => 'project', 'uses' => 'AmibaController@project']); //返回添加表单
    Route::get('ajaxPorject', ['as' => 'ajaxPorject', 'uses' => 'AmibaController@ajaxPorject']); //ajax返回外部收入
    
    
    
    
    
    
    Route::get('add', ['as' => 'add', 'uses' => 'AmibaController@add']); //添加内部收入管理 
    Route::post('postadd', ['as' => 'postadd', 'uses' => 'AmibaController@store']); //添加内部收入管理 
    
    
    
    
    
});

